﻿/*
* Activity Tracking Log v0.1.1 - http://activitytrackinglog.codeplex.com
* Activity Tracking Log for ASP.Net & ASP.Net MVC
* Copyright (c) 2011 Vadim Burac
* Licensed under the Microsoft Public License (Ms-PL)
* http://activitytrackinglog.codeplex.com/license
*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace ActivityTrackingLog.Configuration.ConfigSections
{
    internal class ClientAccessConfigSection : BaseConfigSection
    {
        #region properties

        #endregion

        #region config accessors

        [ConfigurationProperty("handlerUrl", IsRequired = true)]
        public string HandlerUrl
        {
            get
            {
                return GetConfigValue("handlerUrl", string.Empty);
            }
        }

        #endregion

        #region helpers

        public override string ToString()
        {
            return string.Format("{0}, {1}",
                base.ToString(),
                string.Format("HandlerUrl: {0}", HandlerUrl));
        }

        #endregion
    }
}
